<div class="form" style="background:url('<?php echo Yii::app()->request->baseUrl; ?>/themes/hachimaki/imagens/bg5.png') repeat scroll top center transparent; height:auto; padding-top:8%; width:370px; text-align:left; line-height: 1; border: 3px solid #CCCCCC; display: block; z-index:0;">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'cad-professor-form',
	'enableAjaxValidation'=>false,
)); ?>
	<h1 class="titulo_login" style="color: #444444;
    font-size: 24px;
    font-weight: normal;
    margin-bottom: 34px;
    margin-top: -53px;
    text-align: center;
    width: 100%;
    z-index: -10000;">Cadastro de Professor</h1>
	<p class="note">Campos com <span class="required">*</span> são obrigatórios.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row" style="text-align:right; width:375px; padding:0; margin:0;">
		<?php echo $form->labelEx($model,'nome'); ?>
		<?php echo $form->textField($model,'nome',array('size'=>60,'maxlength'=>150)); ?>
		<?php echo $form->error($model,'nome'); ?>
	</div>

	<div class="row" style="text-align:right; width:375px; padding:0; margin:0;">
		<?php echo $form->labelEx($model,'cpf'); ?>
		<?php echo $form->textField($model,'cpf',array('size'=>15,'maxlength'=>15)); ?>
		<?php echo $form->error($model,'cpf'); ?>
	</div>

	<div class="row" style="text-align:right; width:375px; padding:0; margin:0;">
		<?php echo $form->labelEx($model,'rg'); ?>
		<?php echo $form->textField($model,'rg',array('size'=>15,'maxlength'=>15)); ?>
		<?php echo $form->error($model,'rg'); ?>
	</div>

	<div class="row" style="text-align:right; width:375px; padding:0; margin:0;">
		<?php echo $form->labelEx($model,'data_nascimento'); ?>
		<?php echo $form->textField($model,'data_nascimento',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'data_nascimento'); ?>
	</div>

	<div class="row" style="text-align:right; width:375px; padding:0; margin:0;">
		<?php echo $form->labelEx($model,'fili_pai'); ?>
		<?php echo $form->textField($model,'fili_pai',array('size'=>60,'maxlength'=>150)); ?>
		<?php echo $form->error($model,'fili_pai'); ?>
	</div>

	<div class="row" style="text-align:right; width:375px; padding:0; margin:0;">
		<?php echo $form->labelEx($model,'fili_mae'); ?>
		<?php echo $form->textField($model,'fili_mae',array('size'=>60,'maxlength'=>150)); ?>
		<?php echo $form->error($model,'fili_mae'); ?>
	</div>

	<div class="row" style="text-align:right; width:375px; padding:0; margin:0;">
		<?php echo $form->labelEx($model,'logradouro'); ?>
		<?php echo $form->textField($model,'logradouro',array('size'=>60,'maxlength'=>150)); ?>
		<?php echo $form->error($model,'logradouro'); ?>
	</div>

	<div class="row" style="text-align:right; width:375px; padding:0; margin:0;">
		<?php echo $form->labelEx($model,'numero'); ?>
		<?php echo $form->textField($model,'numero',array('size'=>15,'maxlength'=>15)); ?>
		<?php echo $form->error($model,'numero'); ?>
	</div>

	<div class="row" style="text-align:right; width:375px; padding:0; margin:0;">
		<?php echo $form->labelEx($model,'complemento'); ?>
		<?php echo $form->textField($model,'complemento',array('size'=>60,'maxlength'=>150)); ?>
		<?php echo $form->error($model,'complemento'); ?>
	</div>

	<div class="row" style="text-align:right; width:375px; padding:0; margin:0;">
		<?php echo $form->labelEx($model,'bairro'); ?>
		<?php echo $form->textField($model,'bairro',array('size'=>15,'maxlength'=>15)); ?>
		<?php echo $form->error($model,'bairro'); ?>
	</div>

	<div class="row" style="text-align:right; width:375px; padding:0; margin:0;">
		<?php echo $form->labelEx($model,'cidade'); ?>
		<?php echo $form->textField($model,'cidade',array('size'=>15,'maxlength'=>15)); ?>
		<?php echo $form->error($model,'cidade'); ?>
	</div>

	<div class="row" style="text-align:right; width:375px; padding:0; margin:0;">
		<?php echo $form->labelEx($model,'estado'); ?>
		<?php echo $form->textField($model,'estado',array('size'=>15,'maxlength'=>15)); ?>
		<?php echo $form->error($model,'estado'); ?>
	</div>

	<div class="row" style="text-align:right; width:375px; padding:0; margin:0;">
		<?php echo $form->labelEx($model,'cep'); ?>
		<?php echo $form->textField($model,'cep',array('size'=>15,'maxlength'=>15)); ?>
		<?php echo $form->error($model,'cep'); ?>
	</div>

	<div class="row" style="text-align:right; width:375px; padding:0; margin:0;">
		<?php echo $form->labelEx($model,'tel_residencial'); ?>
		<?php echo $form->textField($model,'tel_residencial',array('size'=>15,'maxlength'=>15)); ?>
		<?php echo $form->error($model,'tel_residencial'); ?>
	</div>

	<div class="row" style="text-align:right; width:375px; padding:0; margin:0;">
		<?php echo $form->labelEx($model,'tel_celular'); ?>
		<?php echo $form->textField($model,'tel_celular',array('size'=>15,'maxlength'=>15)); ?>
		<?php echo $form->error($model,'tel_celular'); ?>
	</div>

	<div class="row" style="text-align:right; width:375px; padding:0; margin:0;">
		<?php echo $form->labelEx($model,'tel_comercial'); ?>
		<?php echo $form->textField($model,'tel_comercial',array('size'=>15,'maxlength'=>15)); ?>
		<?php echo $form->error($model,'tel_comercial'); ?>
	</div>

	<div class="row" style="text-align:right; width:375px; padding:0; margin:0;">
		<?php echo $form->labelEx($model,'tel_recados'); ?>
		<?php echo $form->textField($model,'tel_recados',array('size'=>15,'maxlength'=>15)); ?>
		<?php echo $form->error($model,'tel_recados'); ?>
	</div>

	<div class="row" style="text-align:right; width:375px; padding:0; margin:0;">
		<?php echo $form->labelEx($model,'e_mail'); ?>
		<?php echo $form->textField($model,'e_mail',array('size'=>60,'maxlength'=>150)); ?>
		<?php echo $form->error($model,'e_mail'); ?>
	</div>

	<div class="row buttons" style="text-align:center; margin-bottom:0px; position:relative; clear:both; padding-top:8px;">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Salvar' : 'Salvar'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->